@import "_mixin";

#comment-form {
  .ipt {
    padding: .3em .8em;
    width: 220px;
  }
  label {
    min-width: 2em;
    margin-right: 1.5em;
  }
  textarea {
    min-width: 480px;
    height: 131px;
    resize: none;
  }
  margin-bottom: 2em;
  .comment-meta {
    margin-right: 2em;
  }
  .comment-content{
    margin-left: 0;
  }
}

#comment-archived {
  margin-bottom: 1em;
  color: @colorRed2;
}

#comment-submit {
  right: -3em;
  bottom: 0em;
}

.comment-header.pager{
  margin-left: -6px;
  .item{
    margin-bottom: 2.2em;
    padding: 2px 6px;
    display: inline-block;
    line-height: 18px;
    height: 18px;
    min-width: 1em;
    text-align: center;
  }
}

.comment-item {
  .comment-avatar {
    width: 40px;
    height: 40px;
    padding: 2px;
    border: 1px solid @colorBorder2;
    background-color: #FFF;
    margin-right: 1em;
    .css3-border-radius(3px);
  }
  .comment-meta-header {
    line-height: 18px;
    padding-bottom: 6px;
    >* {
      margin-right: 1em;
    }
    &:hover {
      .comment-reply {
        display: inline;
      }
    }
  }
  .comment-time {
    font-family: Verdana, Tahoma, sans-serif;
    color: @colorFont2;
  }
  .comment-author {
    color: @colorRed;
  }
  .comment-reply {
    color: @colorBlue;
    font-size: 12px;
    &:hover {
      color: @colorBlue2;
    }
    &.replying {
      display: inline;
    }
  }
  .comment-content{
    margin-left: 59px;
  }
  .comment-child {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px dashed @colorBorder3;
    margin-left: 48px;
    .comment-avatar {
      width: 32px;
      height: 32px;
    }
    .comment-child {
      margin-left: 38px;
    }
    .comment-content{
      margin-left: 51px;
    }
  }
  .comment-parent-name {
    padding-right: .5em;
    color: @colorFont2;
  }
  .comment-new {
    color: @colorGreen1;
  }
  .comment-pending {
    color: @colorOrange1;
  }
}

#comment {
  >.comment-item {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px dashed @colorBorder3;
  }
  #comment-form {
    margin-top: .6em;
    margin-left: 48px;
  }
  .comment-child #comment-form {
    margin-left: 38px;
  }
}

.recent-comment-content{
  font-size: 12px;
  display: inline;
}